package com.noreply.springannotation.service;

import com.noreply.springannotation.dao.BookDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author noreply
 * @description
 */
@Service
public class BookService {
    @Qualifier("bookDao1")
    @Autowired
    private BookDao bookDao;

    public void print() {
        System.out.println(bookDao);
    }
}
